package com.nf.service;

import com.nf.dao.CarMapper;
import com.nf.entity.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarServiceImpl implements CarService {

    @Autowired
    private CarMapper carMapper;

    @Override
    public List<Car> getSelectCar() {
        return carMapper.getAllCar();
    }
}
